package com.xyoto.community.enums;

/**
 * @Author lin
 * @Date 2021/10/20 22:57
 */

public enum StudentAuthenticationEnum implements Code{
    STUDENT_AUTHENTICATION_FAILED(3000,"操作失败，请重试"),
    PICTURE_UPLOAD_FAILED(3001,"图片上传失败"),
    CHOICE_PICTURE(3002,"请上传学生证图片"),
    NOT_AUTHENTICATION(3003,"未认证")
    ;

    private int code;
    private String msg;
    StudentAuthenticationEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
